package tcc.wa.presenter.datasource;

import java.util.ArrayList;
import java.util.List;

import tcc.wa.presenter.view.item.HoursInAdvanceViewItem;

/**
 * Data source class for numbers of hours in advance options.
 */
public class HoursInAdvanceDataSource {
	
	private List<HoursInAdvanceViewItem> hours;
	
	public HoursInAdvanceDataSource() {
		hours = new ArrayList<HoursInAdvanceViewItem>();
		hours.add(new HoursInAdvanceViewItem(1));
		hours.add(new HoursInAdvanceViewItem(2));
		hours.add(new HoursInAdvanceViewItem(3));
		hours.add(new HoursInAdvanceViewItem(4));
		hours.add(new HoursInAdvanceViewItem(5));
		hours.add(new HoursInAdvanceViewItem(6));
		hours.add(new HoursInAdvanceViewItem(7));
		hours.add(new HoursInAdvanceViewItem(8));
		hours.add(new HoursInAdvanceViewItem(9));
		hours.add(new HoursInAdvanceViewItem(10));
		hours.add(new HoursInAdvanceViewItem(11));
		hours.add(new HoursInAdvanceViewItem(12));
		hours.add(new HoursInAdvanceViewItem(13));
		hours.add(new HoursInAdvanceViewItem(14));
		hours.add(new HoursInAdvanceViewItem(15));
		hours.add(new HoursInAdvanceViewItem(16));
		hours.add(new HoursInAdvanceViewItem(17));
		hours.add(new HoursInAdvanceViewItem(18));
		hours.add(new HoursInAdvanceViewItem(19));
		hours.add(new HoursInAdvanceViewItem(20));
		hours.add(new HoursInAdvanceViewItem(21));
		hours.add(new HoursInAdvanceViewItem(22));
		hours.add(new HoursInAdvanceViewItem(23));
		hours.add(new HoursInAdvanceViewItem(24));
	}
	
	/**
	 * Returns all possible hours in advance.
	 *
	 * @return the list of all possible hours in advance
	 */
	public List<HoursInAdvanceViewItem> Select() {
		return hours;
	}
}
